package com.itheima.mapper;

import com.itheima.pojo.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface OrderDao {
    void add(Order order);

    @Select("select * from t_order where id = #{id}")
    Order findById(Integer id);
}
